package com.quanyan.assets.service;


import com.quanyan.api.APIRequest;
import com.quanyan.api.APIResponse;
import com.quanyan.assets.request.ReqCurrency;

import java.math.BigDecimal;

/**
 * Created by wmb on 2016/6/6.
 */
public interface CurrencyService {
    APIResponse<BigDecimal> exchangeRatioByName(String currencyName);
    APIResponse<BigDecimal> exchangeRatioById(Byte id);
    APIResponse update(APIRequest<ReqCurrency> apiRequest);
}
